<template>
  <div class="create-cell-wrap">
     <div class="content-title">{{title}} <span class="red-icon" v-if="need">※</span></div>
        <el-input :style="{'width':'350px'}" v-model="text" placeholder="请输入内容"></el-input>
  </div>
</template>
<script lang="ts">
import Vue from 'vue';
import { Prop } from 'vue-property-decorator';
export default class CreateCell extends Vue {
  @Prop() title!: string;
  @Prop({
    default: true
  })
  need!: boolean;
  @Prop() text!: string;
}
</script>
